package xiao.ke.sbdemo.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author XiaoKe
 * @Date 2019/11/26 13:26
 * @Description 自定义异常类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MyException extends RuntimeException {

    private String code;
    private String msg;
}
